package com.example.happ.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Review {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("user_id")
    private Integer userId;
    @TableField("store_id")
    private Integer storeId;
    @TableField("screen")
    private String screen;
    @TableField("screenshot")
    private String screenshot;
    @TableField("status")
    private Integer status;
    @TableField("prize_id")
    private Integer prizeId;
    @TableField("prize_amount")
    private Double prizeAmount;
    @TableField("reviewed_by")
    private Integer reviewedBy;
    @TableField("created_at")
    private Date createdAt;
    @TableField("updated_at")
    private Date updatedAt;
    @TableField("platform_name")
    private String platformName;
}
